import request from '@/store/request'
export function insert (form) {
  return request({
    url: 'news/video/insert',
    method: 'POST',
    dataType: 'josn',
    data: form
  })
}
export function page (page,size) {
  return request({
    url: 'news/video/page',
    method: 'POST',
    dataType: 'josn',
    data: {
      page: page,
      size: size
    }
  })
}

export function findById (id) {
  return request({
    url: 'news/video/findById/'+id,
    method: 'get',
    dataType: 'josn'

  })
}
